package com.diting.library.cmcc.util;

import android.graphics.drawable.Drawable;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.ColorInt;
import androidx.annotation.IntRange;

public class UIConfig {
    private static final int MODE_SHIFT = 30;
    private static final int MODE_MASK = -1073741824;
    public static final int SP_MODE = 0;
    public static final int DP_MODE = 1073741824;
    public static int DEFAULT_STATUS_BAR_COLOR = -1;
    public static int DEFAULT_BOTTOM_NAV_COLOR = -16777216;
    public static int DEFAULT_NAV_COLOR = -16617774;
    public static int DEFAULT_NAV_TEXT_COLOR = -1;
    public static int DEFAULT_NUMBER_COLOR = -16777216;
    public static int DEFAULT_SWITCH_ACC_TEXT_COLOR = -10066330;
    public static int DEFAULT_LOGIN_BTN_TEXT_COLOR = -1;
    public static int DEFAULT_PROTOCOL_ONE_COLOR = -13070867;
    public static int DEFAULT_PROTOCOL_TWO_COLOR = -13070867;
    public static int DEFAULT_PROTOCOL_COLOR = -6710887;
    public static int DEFAULT_SLOGAN_TEXT_COLOR = -6710887;
    public static int DEFAULT_WEB_STATUS_BAR_COLOR = -1;
    public static int DEFAULT_WEB_NAV_COLOR = -16617774;
    public static int DEFAULT_WEB_NAV_TEXT_COLOR = -1;
    public static int DEFAULT_PROTOCOL_THREE_COLOR = -13070867;
    private int statusBarColor;
    private int bottomNavBarColor;
    private boolean isLightColor;
    private boolean isStatusBarHidden;
    private int statusBarUIFlag;
    private int navColor;
    private String navText;
    private int navTextColor;
    private int navTextSize;
    private String navReturnImgPath;
    private Drawable navReturnImgDrawable;
    private int navReturnImgWidth;
    private int navReturnImgHeight;
    private boolean navReturnHidden;
    private ImageView.ScaleType navReturnScaleType;
    private boolean navHidden;
    private String logoImgPath;
    private Drawable logoImgDrawable;
    private int logoWidth;
    private int logoHeight;
    private boolean logoHidden;
    private int logoOffsetY;
    private int logoOffsetY_B;
    private ImageView.ScaleType logoScaleType;
    private boolean checkboxHidden;
    private String uncheckedImgPath;
    private Drawable uncheckedImgDrawable;
    private String checkedImgPath;
    private Drawable checkedImgDrawable;
    private int checkBoxHeight;
    private int checkBoxWidth;
    private int numberColor;
    private int numberSize;
    private boolean numberBold;
    private int numFieldOffsetY;
    private int numFieldOffsetY_B;
    private int numberFieldOffsetX;
    private int numberLayoutGravity;
    private boolean switchAccHidden;
    private int switchAccTextColor;
    private int switchAccTextSize;
    private String switchAccText;
    private int switchOffsetY;
    private int switchOffsetY_B;
    private String logBtnText;
    private int logBtnTextColor;
    private int logBtnTextSize;
    private boolean logBtnTextBold;
    private String logBtnBackgroundPath;
    private Drawable logBtnBackgroundDrawable;
    private int logBtnOffsetX;
    private int logBtnOffsetY;
    private int logBtnOffsetY_B;
    private int logBtnWidth;
    private int logBtnHeight;
    private int logBtnMarginLeftAndRight;
    private String loadingImgPath;
    private Drawable loadingImgDrawable;
    private int logBtnLayoutGravity;
    private boolean logBtnToastHidden;
    private boolean isHiddenLoading;
    private String loadingBackgroundPath;
    private Drawable loadingBackgroundDrawable;
    private String protocolOneName;
    private String protocolOneURL;
    private int protocolOneColor;
    private String protocolTwoName;
    private String protocolTwoURL;
    private int protocolTwoColor;
    private int protocolColor;
    private int privacyOffsetX;
    private int privacyOffsetY;
    private int privacyOffsetY_B;
    private boolean privacyState;
    private int protocolGravity;
    private boolean protocolGravityCenter;
    private int privacyTextSize;
    private int privacyMargin;
    private String privacyBefore;
    private String privacyEnd;
    private String vendorPrivacyPrefix;
    private String vendorPrivacySuffix;
    private int protocolLayoutGravity;
    private String[] privacyConectTexts;
    private int privacyOperatorIndex;
    private boolean sloganHidden;
    private String sloganText;
    private int sloganTextSize;
    private int sloganTextColor;
    private int sloganOffsetY;
    private int sloganOffsetY_B;
    private int dialogWidth;
    private int dialogHeight;
    private boolean dialogBottom;
    private int dialogOffsetX;
    private int dialogOffsetY;
    private String pageBackgroundPath;
    private Drawable pageBackgroundDrawable;
    private int webViewStatusBarColor;
    private int webNavColor;
    private int webNavTextColor;
    private int webNavTextSize;
    private String webNavReturnImgPath;
    private Drawable webNavReturnImgDrawable;
    private boolean webSupportedJavascript;
    private String authPageActIn;
    private String activityOut;
    private String authPageActOut;
    private String activityIn;
    private int screenOrientation;
    private float dialogAlpha;
    private String protocolThreeName;
    private String protocolThreeURL;
    private int protocolThreeColor;
    private String protocolAction;
    private String packageName;

    public String getProtocolThreeName() {
        return this.protocolThreeName;
    }

    public void setProtocolThreeName(String var1) {
        this.protocolThreeName = var1;
    }

    public String getProtocolThreeURL() {
        return this.protocolThreeURL;
    }

    public void setProtocolThreeURL(String var1) {
        this.protocolThreeURL = var1;
    }

    public int getProtocolThreeColor() {
        return this.protocolThreeColor;
    }

    public void setProtocolThreeColor(int var1) {
        this.protocolThreeColor = var1;
    }

    public float getDialogAlpha() {
        return this.dialogAlpha;
    }

    public void setDialogAlpha(float var1) {
        this.dialogAlpha = var1;
    }

    public int getNavColor() {
        return this.navColor;
    }

    public String getNavText() {
        return this.navText;
    }

    public int getNavTextColor() {
        return this.navTextColor;
    }

    public String getNavReturnImgPath() {
        return this.navReturnImgPath;
    }

    public ImageView.ScaleType getNavReturnScaleType() {
        return this.navReturnScaleType;
    }

    public String getLogoImgPath() {
        return this.logoImgPath;
    }

    public boolean isLogoHidden() {
        return this.logoHidden;
    }

    public int getLogoOffsetY() {
        return this.logoOffsetY;
    }

    public int getNumberColor() {
        return this.numberColor;
    }

    public int getNumberSize() {
        return this.numberSize;
    }

    public boolean isNumberBold() {
        return numberBold;
    }

    public void setNumberBold(boolean numberBold) {
        this.numberBold = numberBold;
    }

    public int getNumFieldOffsetY() {
        return this.numFieldOffsetY;
    }

    public boolean isSwitchAccHidden() {
        return this.switchAccHidden;
    }

    public int getSwitchAccTextColor() {
        return this.switchAccTextColor;
    }

    public int getSwitchOffsetY() {
        return this.switchOffsetY;
    }

    public String getLogBtnText() {
        return this.logBtnText;
    }

    public int getLogBtnTextColor() {
        return this.logBtnTextColor;
    }

    public int getLogBtnTextSize() {
        return this.logBtnTextSize;
    }

    public boolean isLogBtnTextBold() {
        return logBtnTextBold;
    }

    public void setLogBtnTextBold(boolean logBtnTextBold) {
        this.logBtnTextBold = logBtnTextBold;
    }

    public void setStatusBarHidden(boolean statusBarHidden) {
        isStatusBarHidden = statusBarHidden;
    }

    public String getLogBtnBackgroundPath() {
        return this.logBtnBackgroundPath;
    }

    public int getLogBtnOffsetY() {
        return this.logBtnOffsetY;
    }

    public String getProtocolOneName() {
        return this.protocolOneName;
    }

    public String getProtocolOneURL() {
        return this.protocolOneURL;
    }

    public int getProtocolOneColor() {
        return this.protocolOneColor;
    }

    public String getProtocolTwoName() {
        return this.protocolTwoName;
    }

    public String getProtocolTwoURL() {
        return this.protocolTwoURL;
    }

    public int getProtocolTwoColor() {
        return this.protocolTwoColor;
    }

    public int getProtocolColor() {
        return this.protocolColor;
    }

    public int getPrivacyOffsetY() {
        return this.privacyOffsetY;
    }

    public int getSloganTextColor() {
        return this.sloganTextColor;
    }

    public int getSloganOffsetY() {
        return this.sloganOffsetY;
    }

    public int getLogoOffsetY_B() {
        return this.logoOffsetY_B;
    }

    public int getNumFieldOffsetY_B() {
        return this.numFieldOffsetY_B;
    }

    public int getSwitchOffsetY_B() {
        return this.switchOffsetY_B;
    }

    public int getLogBtnOffsetY_B() {
        return this.logBtnOffsetY_B;
    }

    public int getPrivacyOffsetY_B() {
        return this.privacyOffsetY_B;
    }

    public int getSloganOffsetY_B() {
        return this.sloganOffsetY_B;
    }

    public boolean isCheckboxHidden() {
        return this.checkboxHidden;
    }

    public String getSloganText() {
        return this.sloganText;
    }

    public int getNavTextSize() {
        return this.navTextSize;
    }

    public int getLogoWidth() {
        return this.logoWidth;
    }

    public int getLogoHeight() {
        return this.logoHeight;
    }

    public int getSwitchAccTextSize() {
        return this.switchAccTextSize;
    }

    public String getSwitchAccText() {
        return this.switchAccText;
    }

    public int getSloganTextSize() {
        return this.sloganTextSize;
    }

    public boolean isSloganHidden() {
        return this.sloganHidden;
    }

    public String getUncheckedImgPath() {
        return this.uncheckedImgPath;
    }

    public String getCheckedImgPath() {
        return this.checkedImgPath;
    }

    public boolean isPrivacyState() {
        return this.privacyState;
    }

    public int getProtocolGravity() {
        return this.protocolGravity;
    }

    public boolean isProtocolGravityCenter() {
        return protocolGravityCenter;
    }

    public void setProtocolGravityCenter(boolean protocolGravityCenter) {
        this.protocolGravityCenter = protocolGravityCenter;
    }

    public int getStatusBarColor() {
        return this.statusBarColor;
    }

    public int getBottomNavBarColor() {
        return this.bottomNavBarColor;
    }

    public boolean isLightColor() {
        return this.isLightColor;
    }

    public int getCheckBoxHeight() {
        return this.checkBoxHeight;
    }

    public int getCheckBoxWidth() {
        return this.checkBoxWidth;
    }

    public int getNumberFieldOffsetX() {
        return this.numberFieldOffsetX;
    }

    public int getLogBtnWidth() {
        return this.logBtnWidth;
    }

    public int getLogBtnHeight() {
        return this.logBtnHeight;
    }

    public int getLogBtnMarginLeftAndRight() {
        return this.logBtnMarginLeftAndRight;
    }

    public int getPrivacyTextSize() {
        return this.privacyTextSize;
    }

    public int getNavReturnImgWidth() {
        return this.navReturnImgWidth;
    }

    public int getNavReturnImgHeight() {
        return this.navReturnImgHeight;
    }

    public int getPrivacyMargin() {
        return this.privacyMargin;
    }

    public String[] getPrivacyConectTexts() {
        return this.privacyConectTexts;
    }

    public int getPrivacyOperatorIndex() {
        return this.privacyOperatorIndex;
    }

    public String getPrivacyBefore() {
        return this.privacyBefore;
    }

    public String getPrivacyEnd() {
        return this.privacyEnd;
    }

    public boolean isNavReturnHidden() {
        return this.navReturnHidden;
    }

    public String getLoadingImgPath() {
        return this.loadingImgPath;
    }

    public boolean isHiddenLoading() {
        return this.isHiddenLoading;
    }

    public String getLoadingBackgroundPath() {
        return this.loadingBackgroundPath;
    }

    public Drawable getLoadingBackgroundDrawable() {
        return this.loadingBackgroundDrawable;
    }

    public int getDialogWidth() {
        return this.dialogWidth;
    }

    public int getDialogHeight() {
        return this.dialogHeight;
    }

    public int getDialogOffsetX() {
        return this.dialogOffsetX;
    }

    public int getDialogOffsetY() {
        return this.dialogOffsetY;
    }

    public boolean isDialogBottom() {
        return this.dialogBottom;
    }

    public String getPageBackgroundPath() {
        return this.pageBackgroundPath;
    }

    public boolean isNavHidden() {
        return this.navHidden;
    }

    public ImageView.ScaleType getLogoScaleType() {
        return this.logoScaleType;
    }

    public boolean isStatusBarHidden() {
        return this.isStatusBarHidden;
    }

    public int getStatusBarUIFlag() {
        return this.statusBarUIFlag;
    }

    public int getWebViewStatusBarColor() {
        return this.webViewStatusBarColor;
    }

    public int getWebNavColor() {
        return this.webNavColor;
    }

    public int getWebNavTextColor() {
        return this.webNavTextColor;
    }

    public int getWebNavTextSize() {
        return this.webNavTextSize;
    }

    public String getWebNavReturnImgPath() {
        return this.webNavReturnImgPath;
    }

    public String getAuthPageActIn() {
        return this.authPageActIn;
    }

    public String getActivityOut() {
        return this.activityOut;
    }

    public String getAuthPageActOut() {
        return this.authPageActOut;
    }

    public String getActivityIn() {
        return this.activityIn;
    }

    public int getScreenOrientation() {
        return this.screenOrientation;
    }

    public String getVendorPrivacyPrefix() {
        return this.vendorPrivacyPrefix;
    }

    public String getVendorPrivacySuffix() {
        return this.vendorPrivacySuffix;
    }

    public int getLogBtnOffsetX() {
        return this.logBtnOffsetX;
    }

    public int getNumberLayoutGravity() {
        return this.numberLayoutGravity;
    }

    public int getLogBtnLayoutGravity() {
        return this.logBtnLayoutGravity;
    }

    public int getPrivacyOffsetX() {
        return this.privacyOffsetX;
    }

    public int getProtocolLayoutGravity() {
        return this.protocolLayoutGravity;
    }

    public boolean isLogBtnToastHidden() {
        return this.logBtnToastHidden;
    }

    public boolean isDialog() {
        return this.dialogWidth > 0 && this.dialogHeight > 0;
    }

    public boolean isWebSupportedJavascript() {
        return this.webSupportedJavascript;
    }

    public Drawable getNavReturnImgDrawable() {
        return this.navReturnImgDrawable;
    }

    public Drawable getLogoImgDrawable() {
        return this.logoImgDrawable;
    }

    public Drawable getUncheckedImgDrawable() {
        return this.uncheckedImgDrawable;
    }

    public Drawable getCheckedImgDrawable() {
        return this.checkedImgDrawable;
    }

    public Drawable getLogBtnBackgroundDrawable() {
        return this.logBtnBackgroundDrawable;
    }

    public Drawable getPageBackgroundDrawable() {
        return this.pageBackgroundDrawable;
    }

    public Drawable getWebNavReturnImgDrawable() {
        return this.webNavReturnImgDrawable;
    }

    public Drawable getLoadingImgDrawable() {
        return this.loadingImgDrawable;
    }

    public String getProtocolAction() {
        return this.protocolAction;
    }

    public String getPackageName() {
        return this.packageName;
    }

    private UIConfig(Builder config) {
        this.dialogAlpha = -1.0F;
        this.protocolThreeName = null;
        this.protocolThreeURL = null;
        this.protocolThreeColor = DEFAULT_PROTOCOL_THREE_COLOR;
        this.statusBarColor = config.statusBarColor;
        this.bottomNavBarColor = config.bottomNavColor;
        this.isLightColor = config.isLightColor;
        this.isStatusBarHidden = config.isStatusBarHidden;
        this.statusBarUIFlag = config.statusBarUIFlag;
        this.navColor = config.navColor;
        this.navText = config.navText;
        this.navTextColor = config.navTextColor;
        this.navReturnImgPath = config.navReturnImgPath;
        this.navReturnImgWidth = config.navReturnImgWidth;
        this.navReturnImgHeight = config.navReturnImgHeight;
        this.navReturnHidden = config.navReturnHidden;
        this.navReturnScaleType = config.navReturnScaleType;
        this.logoImgPath = config.logoImgPath;
        this.logoHidden = config.logoHidden;
        this.logoScaleType = config.logoScaleType;
        this.numberColor = config.numberColor;
        this.switchAccHidden = config.switchAccHidden;
        this.switchAccTextColor = config.switchAccTextColor;
        this.logBtnText = config.logBtnText;
        this.logBtnTextColor = config.logBtnTextColor;
        this.protocolOneName = config.protocolOneName;
        this.protocolOneURL = config.protocolOneURL;
        this.protocolOneColor = config.protocolOneColor;
        this.protocolTwoColor = config.protocolTwoColor;
        this.protocolTwoName = config.protocolTwoName;
        this.protocolTwoURL = config.protocolTwoURL;
        this.protocolColor = config.protocolColor;
        this.sloganTextColor = config.sloganTextColor;
        this.numberSize = config.numberSize;
        this.logBtnBackgroundPath = config.logBtnBackgroundPath;
        this.loadingImgPath = config.loadingImgPath;
        this.isHiddenLoading = config.isHiddenLoading;
        this.loadingBackgroundPath = config.loadingBackgroundPath;
        this.loadingBackgroundDrawable = config.loadingBackgroundDrawable;
        this.sloganOffsetY = config.sloganOffsetY;
        this.logoOffsetY = config.logoOffsetY;
        this.logoOffsetY_B = config.logoOffsetY_B;
        this.numFieldOffsetY = config.numFieldOffsetY;
        this.numFieldOffsetY_B = config.numFieldOffsetY_B;
        this.numberFieldOffsetX = config.numberFieldOffsetX;
        this.switchOffsetY = config.switchOffsetY;
        this.switchOffsetY_B = config.switchOffsetY_B;
        this.logBtnTextSize = config.logBtnTextSize;
        this.logBtnOffsetY = config.logBtnOffsetY;
        this.logBtnOffsetY_B = config.logBtnOffsetY_B;
        this.logBtnWidth = config.logBtnWidth;
        this.logBtnHeight = config.logBtnHeight;
        this.logBtnOffsetX = config.logBtnOffsetX;
        this.logBtnMarginLeftAndRight = config.logBtnMarginLeftAndRight;
        this.privacyOffsetY = config.privacyOffsetY;
        this.privacyOffsetY_B = config.privacyOffsetY_B;
        this.sloganOffsetY_B = config.sloganOffsetY_B;
        this.checkboxHidden = config.checkboxHidden;
        this.sloganText = config.sloganText;
        this.navTextSize = config.navTextSize;
        this.logoWidth = config.logoWidth;
        this.logoHeight = config.logoHeight;
        this.switchAccTextSize = config.switchAccTextSize;
        this.switchAccText = config.switchAccText;
        this.sloganTextSize = config.sloganTextSize;
        this.sloganHidden = config.sloganHidden;
        this.uncheckedImgPath = config.uncheckedImgPath;
        this.checkedImgPath = config.checkedImgPath;
        this.checkBoxHeight = config.checkBoxHeight;
        this.checkBoxWidth = config.checkBoxWidth;
        this.privacyState = config.privacyState;
        this.protocolGravity = config.protocolGravity;
        this.privacyTextSize = config.privacyTextSize;
        this.privacyMargin = config.privacyMargin;
        this.privacyBefore = config.privacyBefore;
        this.vendorPrivacyPrefix = config.vendorPrivacyPrefix;
        this.vendorPrivacySuffix = config.vendorPrivacySuffix;
        this.privacyEnd = config.privacyEnd;
        this.dialogWidth = config.dialogWidth;
        this.dialogHeight = config.dialogHeight;
        this.dialogBottom = config.dialogBottom;
        this.dialogOffsetX = config.dialogOffsetX;
        this.dialogOffsetY = config.dialogOffsetY;
        this.pageBackgroundPath = config.pageBackgroundPath;
        this.navHidden = config.navHidden;
        this.webViewStatusBarColor = config.webViewStatusBarColor;
        this.webNavColor = config.webNavColor;
        this.webNavTextColor = config.webNavTextColor;
        this.webNavTextSize = config.webNavTextSize;
        this.webNavReturnImgPath = config.webNavReturnImgPath;
        this.authPageActIn = config.authPageActIn;
        this.activityOut = config.activityOut;
        this.authPageActOut = config.authPageActOut;
        this.activityIn = config.activityIn;
        this.screenOrientation = config.screenOrientation;
        this.protocolLayoutGravity = config.protocolLayoutGravity;
        this.numberLayoutGravity = config.numberLayoutGravity;
        this.logBtnLayoutGravity = config.logBtnLayoutGravity;
        this.privacyOffsetX = config.privacyOffsetX;
        this.logBtnToastHidden = config.logBtnToastHidden;
        this.dialogAlpha = config.dialogAlpha;
        this.protocolThreeName = config.protocolThreeName;
        this.protocolThreeURL = config.protocolThreeURL;
        this.protocolThreeColor = config.protocolThreeColor;
        this.webSupportedJavascript = config.webSupportedJavascript;
        if (config.privacyOperatorIndex >= 0 && config.privacyOperatorIndex <= 3) {
            this.privacyOperatorIndex = config.privacyOperatorIndex;
        } else {
            this.privacyOperatorIndex = 0;
        }

        this.privacyConectTexts = this.makePrivacyConectTexts(config.privacyConectTexts);
        this.navReturnImgDrawable = config.navReturnImgDrawable;
        this.logoImgDrawable = config.logoImgDrawable;
        this.uncheckedImgDrawable = config.uncheckedImgDrawable;
        this.checkedImgDrawable = config.checkedImgDrawable;
        this.logBtnBackgroundDrawable = config.logBtnBackgroundDrawable;
        this.pageBackgroundDrawable = config.pageBackgroundDrawable;
        this.webNavReturnImgDrawable = config.webNavReturnImgDrawable;
        this.packageName = config.packageName;
        this.protocolAction = config.protocolAction;
        this.loadingImgDrawable = config.loadingImgDrawable;
    }

    private String[] makePrivacyConectTexts(String[] var1) {
        try {
            String[] var2 = new String[]{"和", "、", "、"};
            if (var1 != null && var1.length != 0) {
                var2 = new String[]{"和", "、", "、"};
                int var3 = 0;

                for (int var4 = var1.length; var3 < var4 && var3 < 3; ++var3) {
                    var2[var3] = var1[var3];
                }

                return var2;
            } else {
                return var2;
            }
        } catch (Exception var5) {
            return null;
        }
    }

    public String toString() {
        try {
            return "AuthUIConfig{statusBarColor=" + this.statusBarColor + ", bottomNavBarColor=" + this.bottomNavBarColor + ", isLightColor=" + this.isLightColor + ", isStatusBarHidden=" + this.isStatusBarHidden + ", statusBarUIFlag=" + this.statusBarUIFlag + ", navColor=" + this.navColor + ", navText='" + this.navText + '\'' + ", navTextColor=" + this.navTextColor + ", navTextSize=" + this.navTextSize + ", navReturnImgPath='" + this.navReturnImgPath + '\'' + ", navReturnImgWidth=" + this.navReturnImgWidth + ", navReturnImgHeight=" + this.navReturnImgHeight + ", navReturnHidden=" + this.navReturnHidden + ", navReturnScaleType=" + this.navReturnScaleType + ", navHidden=" + this.navHidden + ", logoImgPath='" + this.logoImgPath + '\'' + ", logoWidth=" + this.logoWidth + ", logoHeight=" + this.logoHeight + ", logoHidden=" + this.logoHidden + ", logoOffsetY=" + this.logoOffsetY + ", logoOffsetY_B=" + this.logoOffsetY_B + ", logoScaleType=" + this.logoScaleType + ", checkboxHidden=" + this.checkboxHidden + ", uncheckedImgPath='" + this.uncheckedImgPath + '\'' + ", checkedImgPath='" + this.checkedImgPath + '\'' + ", checkBoxHeight=" + this.checkBoxHeight + ", checkBoxWidth=" + this.checkBoxWidth + ", numberColor=" + this.numberColor + ", numberSize=" + this.numberSize + ", numFieldOffsetY=" + this.numFieldOffsetY + ", numFieldOffsetY_B=" + this.numFieldOffsetY_B + ", numberFieldOffsetX=" + this.numberFieldOffsetX + ", numberLayoutGravity=" + this.numberLayoutGravity + ", switchAccHidden=" + this.switchAccHidden + ", switchAccTextColor=" + this.switchAccTextColor + ", switchAccTextSize=" + this.switchAccTextSize + ", switchAccText='" + this.switchAccText + '\'' + ", switchOffsetY=" + this.switchOffsetY + ", switchOffsetY_B=" + this.switchOffsetY_B + ", logBtnText='" + this.logBtnText + '\'' + ", logBtnTextColor=" + this.logBtnTextColor + ", logBtnTextSize=" + this.logBtnTextSize + ", logBtnBackgroundPath='" + this.logBtnBackgroundPath + '\'' + ", logBtnOffsetX=" + this.logBtnOffsetX + ", logBtnOffsetY=" + this.logBtnOffsetY + ", logBtnOffsetY_B=" + this.logBtnOffsetY_B + ", logBtnWidth=" + this.logBtnWidth + ", logBtnHeight=" + this.logBtnHeight + ", logBtnMarginLeftAndRight=" + this.logBtnMarginLeftAndRight + ", loadingImgPath='" + this.loadingImgPath + '\'' + ", logBtnLayoutGravity=" + this.logBtnLayoutGravity + ", logBtnToastHidden=" + this.logBtnToastHidden + ", protocolOneName='" + this.protocolOneName + '\'' + ", protocolOneURL='" + this.protocolOneURL + '\'' + ", protocolOneColor=" + this.protocolOneColor + ", protocolTwoName='" + this.protocolTwoName + '\'' + ", protocolTwoURL='" + this.protocolTwoURL + '\'' + ", protocolTwoColor=" + this.protocolTwoColor + ", protocolColor=" + this.protocolColor + ", privacyOffsetX=" + this.privacyOffsetX + ", privacyOffsetY=" + this.privacyOffsetY + ", privacyOffsetY_B=" + this.privacyOffsetY_B + ", privacyState=" + this.privacyState + ", protocolGravity=" + this.protocolGravity + ", privacyTextSize=" + this.privacyTextSize + ", privacyMargin=" + this.privacyMargin + ", privacyBefore='" + this.privacyBefore + '\'' + ", privacyEnd='" + this.privacyEnd + '\'' + ", vendorPrivacyPrefix='" + this.vendorPrivacyPrefix + '\'' + ", vendorPrivacySuffix='" + this.vendorPrivacySuffix + '\'' + ", protocolLayoutGravity=" + this.protocolLayoutGravity + ", sloganHidden=" + this.sloganHidden + ", sloganText='" + this.sloganText + '\'' + ", sloganTextSize=" + this.sloganTextSize + ", sloganTextColor=" + this.sloganTextColor + ", sloganOffsetY=" + this.sloganOffsetY + ", sloganOffsetY_B=" + this.sloganOffsetY_B + ", dialogWidth=" + this.dialogWidth + ", dialogHeight=" + this.dialogHeight + ", dialogBottom=" + this.dialogBottom + ", dialogOffsetX=" + this.dialogOffsetX + ", dialogOffsetY=" + this.dialogOffsetY + ", pageBackgroundPath='" + this.pageBackgroundPath + '\'' + ", webViewStatusBarColor=" + this.webViewStatusBarColor + ", webNavColor=" + this.webNavColor + ", webNavTextColor=" + this.webNavTextColor + ", webNavTextSize=" + this.webNavTextSize + ", webNavReturnImgPath='" + this.webNavReturnImgPath + '\'' + ", webSupportedJavascript=" + this.webSupportedJavascript + ", authPageActIn='" + this.authPageActIn + '\'' + ", activityOut='" + this.activityOut + '\'' + ", authPageActOut='" + this.authPageActOut + '\'' + ", activityIn='" + this.activityIn + '\'' + ", screenOrientation=" + this.screenOrientation + ", dialogAlpha=" + this.dialogAlpha + ", protocolThreeName='" + this.protocolThreeName + '\'' + ", protocolThreeURL='" + this.protocolThreeURL + '\'' + ", privacyConectTexts='" + this.privacyConectTexts + '\'' + ", privacyOperatorIndex='" + this.privacyOperatorIndex + '\'' + ", protocolAction='" + this.protocolAction + '\'' + ", packageName='" + this.packageName + '\'' + ", protocolThreeColor=" + this.protocolThreeColor + ", loadingBackgroundPath=" + this.loadingBackgroundPath + ", isHiddenLoading=" + this.isHiddenLoading + '}';
        } catch (Throwable var1) {
            return null;
        }
    }

    public int getMode(int var1) {
        return var1 & -1073741824;
    }

    public int getSize(int var1) {
        return var1 & 1073741823;
    }

    public void setTextSize(TextView var1, int var2) {
        try {
            if (0 == this.getMode(var2)) {
                var1.setTextSize(2, (float) this.getSize(var2));
            } else {
                var1.setTextSize(1, (float) this.getSize(var2));
            }
        } catch (Exception var3) {
        }
    }

    public static class Builder {
        private int statusBarColor;
        private int bottomNavColor;
        private boolean isLightColor;
        private boolean isStatusBarHidden;
        private int statusBarUIFlag;
        private int navColor;
        private String navText;
        private int navTextColor;
        private String navReturnImgPath;
        private int navReturnImgWidth;
        private int navReturnImgHeight;
        private boolean navReturnHidden;
        private ImageView.ScaleType navReturnScaleType;
        private boolean navHidden;
        private String logoImgPath;
        private boolean logoHidden;
        private int numberColor;
        private int numberSize;
        private boolean switchAccHidden;
        private int switchAccTextColor;
        private String logBtnText;
        private int logBtnTextSize;
        private int logBtnTextColor;
        private String protocolOneName;
        private String protocolOneURL;
        private int protocolOneColor;
        private String protocolTwoName;
        private String protocolTwoURL;
        private int protocolTwoColor;
        private int protocolColor;
        private int protocolLayoutGravity;
        private int sloganTextColor;
        private String sloganText;
        private String logBtnBackgroundPath;
        private String loadingImgPath;
        private boolean isHiddenLoading;
        private String loadingBackgroundPath;
        private Drawable loadingBackgroundDrawable;
        private int sloganOffsetY;
        private int logoOffsetY;
        private int logoOffsetY_B;
        private ImageView.ScaleType logoScaleType;
        private int numFieldOffsetY;
        private int numFieldOffsetY_B;
        private int numberFieldOffsetX;
        private int numberLayoutGravity;
        private int switchOffsetY;
        private int switchOffsetY_B;
        private int logBtnOffsetY;
        private int logBtnOffsetY_B;
        private int logBtnWidth;
        private int logBtnHeight;
        private int logBtnOffsetX;
        private int logBtnMarginLeftAndRight;
        private int logBtnLayoutGravity;
        private int privacyOffsetX;
        private int privacyOffsetY;
        private int privacyOffsetY_B;
        private int sloganOffsetY_B;
        private int checkBoxWidth;
        private int checkBoxHeight;
        private boolean checkboxHidden;
        private int navTextSize;
        private int logoWidth;
        private int logoHeight;
        private int switchAccTextSize;
        private String switchAccText;
        private int sloganTextSize;
        private boolean sloganHidden;
        private String uncheckedImgPath;
        private String checkedImgPath;
        private boolean privacyState;
        private int protocolGravity;
        private int privacyTextSize;
        private int privacyMargin;
        private String privacyBefore;
        private String privacyEnd;
        private String vendorPrivacyPrefix;
        private String vendorPrivacySuffix;
        private int dialogWidth;
        private int dialogHeight;
        private boolean dialogBottom;
        private int dialogOffsetX;
        private int dialogOffsetY;
        private String pageBackgroundPath;
        private int webViewStatusBarColor;
        private int webNavColor;
        private int webNavTextColor;
        private int webNavTextSize;
        private String webNavReturnImgPath;
        private String authPageActIn;
        private String activityOut;
        private String authPageActOut;
        private String activityIn;
        private int screenOrientation;
        private boolean logBtnToastHidden;
        private boolean webSupportedJavascript;
        private float dialogAlpha;
        private String protocolThreeName;
        private String protocolThreeURL;
        private int protocolThreeColor;
        private String[] privacyConectTexts;
        private int privacyOperatorIndex;
        private Drawable navReturnImgDrawable;
        private Drawable logoImgDrawable;
        private Drawable uncheckedImgDrawable;
        private Drawable checkedImgDrawable;
        private Drawable logBtnBackgroundDrawable;
        private Drawable pageBackgroundDrawable;
        private Drawable webNavReturnImgDrawable;
        private Drawable loadingImgDrawable;
        private String protocolAction;
        private String packageName;

        public Builder() {
            this.statusBarColor = DEFAULT_STATUS_BAR_COLOR;
            this.bottomNavColor = DEFAULT_BOTTOM_NAV_COLOR;
            this.isLightColor = false;
            this.isStatusBarHidden = false;
            this.statusBarUIFlag = -1;
            this.navColor = DEFAULT_NAV_COLOR;
            this.navText = "免密登录";
            this.navTextColor = DEFAULT_NAV_TEXT_COLOR;
            this.navReturnImgPath = "authsdk_return_bg";
            this.navReturnImgWidth = 30;
            this.navReturnImgHeight = 30;
            this.navReturnHidden = false;
            this.navReturnScaleType = ImageView.ScaleType.CENTER;
            this.navHidden = false;
            this.logoImgPath = null;
            this.logoHidden = false;
            this.numberColor = DEFAULT_NUMBER_COLOR;
            this.numberSize = this.makeTextSizeSpec(28, 1073741824);
            this.switchAccHidden = false;
            this.switchAccTextColor = DEFAULT_SWITCH_ACC_TEXT_COLOR;
            this.logBtnText = "一键登录";
            this.logBtnTextSize = this.makeTextSizeSpec(16, 1073741824);
            this.logBtnTextColor = DEFAULT_LOGIN_BTN_TEXT_COLOR;
            this.protocolOneName = null;
            this.protocolOneURL = null;
            this.protocolOneColor = DEFAULT_PROTOCOL_ONE_COLOR;
            this.protocolTwoName = null;
            this.protocolTwoURL = null;
            this.protocolTwoColor = DEFAULT_PROTOCOL_TWO_COLOR;
            this.protocolColor = DEFAULT_PROTOCOL_COLOR;
            this.protocolLayoutGravity = 1;
            this.sloganTextColor = DEFAULT_SLOGAN_TEXT_COLOR;
            this.sloganText = null;
            this.logBtnBackgroundPath = "authsdk_dialog_login_btn_bg";
            this.loadingImgPath = "authsdk_waiting_icon";
            this.sloganOffsetY = -1;
            this.logoOffsetY = -1;
            this.logoOffsetY_B = -1;
            this.logoScaleType = ImageView.ScaleType.FIT_XY;
            this.numFieldOffsetY = -1;
            this.numFieldOffsetY_B = -1;
            this.numberFieldOffsetX = 0;
            this.numberLayoutGravity = 1;
            this.switchOffsetY = -1;
            this.switchOffsetY_B = -1;
            this.logBtnOffsetY = -1;
            this.logBtnOffsetY_B = -1;
            this.logBtnWidth = -1;
            this.logBtnHeight = 51;
            this.logBtnOffsetX = 0;
            this.logBtnMarginLeftAndRight = 28;
            this.logBtnLayoutGravity = 1;
            this.privacyOffsetY = -1;
            this.privacyOffsetY_B = 28;
            this.sloganOffsetY_B = -1;
            this.checkBoxWidth = 18;
            this.checkBoxHeight = 18;
            this.checkboxHidden = false;
            this.navTextSize = this.makeTextSizeSpec(18, 1073741824);
            this.logoWidth = 90;
            this.logoHeight = 90;
            this.switchAccTextSize = this.makeTextSizeSpec(16, 1073741824);
            this.switchAccText = "切换到其他方式";
            this.sloganTextSize = this.makeTextSizeSpec(16, 1073741824);
            this.sloganHidden = false;
            this.uncheckedImgPath = "authsdk_checkbox_uncheck_bg";
            this.checkedImgPath = "authsdk_checkbox_checked_bg";
            this.privacyState = false;
            this.protocolGravity = 17;
            this.privacyTextSize = this.makeTextSizeSpec(12, 1073741824);
            this.privacyMargin = 28;
            this.privacyBefore = "";
            this.privacyEnd = "";
            this.vendorPrivacyPrefix = "";
            this.vendorPrivacySuffix = "";
            this.dialogWidth = -1;
            this.dialogHeight = -1;
            this.dialogBottom = false;
            this.dialogOffsetX = 0;
            this.dialogOffsetY = 0;
            this.pageBackgroundPath = null;
            this.webViewStatusBarColor = DEFAULT_WEB_STATUS_BAR_COLOR;
            this.webNavColor = DEFAULT_WEB_NAV_COLOR;
            this.webNavTextColor = DEFAULT_WEB_NAV_TEXT_COLOR;
            this.webNavTextSize = this.makeTextSizeSpec(18, 1073741824);
            this.webNavReturnImgPath = null;
            this.authPageActIn = null;
            this.activityOut = null;
            this.authPageActOut = null;
            this.activityIn = null;
            this.screenOrientation = -1;
            this.logBtnToastHidden = false;
            this.webSupportedJavascript = true;
            this.dialogAlpha = -1.0F;
            this.protocolThreeName = null;
            this.protocolThreeURL = null;
            this.protocolThreeColor = DEFAULT_PROTOCOL_THREE_COLOR;
            this.privacyOperatorIndex = 0;
        }

        public Builder setDialogAlpha(float var1) {
            this.dialogAlpha = var1;
            return this;
        }

        public Builder setNavColor(@ColorInt int var1) {
            this.navColor = var1;
            return this;
        }

        public Builder setNavText(String var1) {
            this.navText = var1;
            return this;
        }

        public Builder setNavTextColor(@ColorInt int var1) {
            this.navTextColor = var1;
            return this;
        }

        public Builder setPrivacyConectTexts(String[] var1) {
            this.privacyConectTexts = var1;
            return this;
        }

        public Builder setPrivacyOperatorIndex(@IntRange(from = 0L, to = 3L) int var1) {
            this.privacyOperatorIndex = var1;
            return this;
        }

        public Builder setNavReturnScaleType(ImageView.ScaleType var1) {
            this.navReturnScaleType = var1;
            return this;
        }

        public Builder setLogoImgPath(String var1) {
            this.logoImgPath = var1;
            return this;
        }

        public Builder setLogoHidden(boolean var1) {
            this.logoHidden = var1;
            return this;
        }

        public Builder setNumberColor(@ColorInt int var1) {
            this.numberColor = var1;
            return this;
        }

        public Builder setNumberSize(int var1) {
            this.numberSize = this.makeTextSizeSpec(var1, 0);
            return this;
        }

        public Builder setNumberSizeDp(int var1) {
            if (var1 > 0) {
                this.numberSize = this.makeTextSizeSpec(var1, 1073741824);
            }

            return this;
        }

        public Builder setSwitchAccHidden(boolean var1) {
            this.switchAccHidden = var1;
            return this;
        }

        public Builder setSwitchAccTextColor(@ColorInt int var1) {
            this.switchAccTextColor = var1;
            return this;
        }

        public Builder setLogBtnText(String var1) {
            this.logBtnText = var1;
            return this;
        }

        public Builder setLogBtnTextColor(@ColorInt int var1) {
            this.logBtnTextColor = var1;
            return this;
        }

        public Builder setLogBtnTextSize(int var1) {
            this.logBtnTextSize = this.makeTextSizeSpec(var1, 0);
            return this;
        }

        public Builder setLogBtnTextSizeDp(int var1) {
            this.logBtnTextSize = this.makeTextSizeSpec(var1, 1073741824);
            return this;
        }

        public Builder setAppPrivacyOne(String var1, String var2) {
            this.protocolOneName = var1;
            this.protocolOneURL = var2;
            return this;
        }

        public Builder setAppPrivacyTwo(String var1, String var2) {
            this.protocolTwoName = var1;
            this.protocolTwoURL = var2;
            return this;
        }

        public Builder setAppPrivacyThree(String var1, String var2) {
            this.protocolThreeName = var1;
            this.protocolThreeURL = var2;
            return this;
        }

        public Builder setAppPrivacyColor(@ColorInt int var1, @ColorInt int var2) {
            this.protocolColor = var1;
            this.protocolOneColor = var2;
            this.protocolTwoColor = var2;
            this.protocolThreeColor = var2;
            return this;
        }

        public Builder setSloganTextColor(@ColorInt int var1) {
            this.sloganTextColor = var1;
            return this;
        }

        public Builder setLogBtnBackgroundPath(String var1) {
            this.logBtnBackgroundPath = var1;
            return this;
        }

        public Builder setNavReturnImgPath(String var1) {
            this.navReturnImgPath = var1;
            return this;
        }

        public Builder setSloganOffsetY(int var1) {
            this.sloganOffsetY = var1;
            return this;
        }

        public Builder setLogoOffsetY(int var1) {
            this.logoOffsetY = var1;
            return this;
        }

        public Builder setLogoOffsetY_B(int var1) {
            this.logoOffsetY_B = var1;
            return this;
        }

        public Builder setNumFieldOffsetY(int var1) {
            this.numFieldOffsetY = var1;
            return this;
        }

        public Builder setNumFieldOffsetY_B(int var1) {
            this.numFieldOffsetY_B = var1;
            return this;
        }

        public Builder setSwitchOffsetY(int var1) {
            this.switchOffsetY = var1;
            return this;
        }

        public Builder setSwitchOffsetY_B(int var1) {
            this.switchOffsetY_B = var1;
            return this;
        }

        public Builder setLogBtnOffsetY(int var1) {
            this.logBtnOffsetY = var1;
            return this;
        }

        public Builder setLogBtnOffsetY_B(int var1) {
            this.logBtnOffsetY_B = var1;
            return this;
        }

        public Builder setPrivacyOffsetY(int var1) {
            this.privacyOffsetY = var1;
            return this;
        }

        public Builder setPrivacyOffsetY_B(int var1) {
            this.privacyOffsetY_B = var1;
            return this;
        }

        public Builder setSloganOffsetY_B(int var1) {
            this.sloganOffsetY_B = var1;
            return this;
        }

        public Builder setSloganText(String var1) {
            this.sloganText = var1;
            return this;
        }

        public Builder setCheckboxHidden(boolean var1) {
            this.checkboxHidden = var1;
            return this;
        }

        public Builder setNavTextSize(int var1) {
            this.navTextSize = this.makeTextSizeSpec(var1, 0);
            return this;
        }

        public Builder setNavTextSizeDp(int var1) {
            this.navTextSize = this.makeTextSizeSpec(var1, 1073741824);
            return this;
        }

        public Builder setLogoWidth(int var1) {
            this.logoWidth = var1;
            return this;
        }

        public Builder setLogoHeight(int var1) {
            this.logoHeight = var1;
            return this;
        }

        public Builder setSwitchAccTextSize(int var1) {
            this.switchAccTextSize = this.makeTextSizeSpec(var1, 0);
            return this;
        }

        public Builder setSwitchAccTextSizeDp(int var1) {
            this.switchAccTextSize = this.makeTextSizeSpec(var1, 1073741824);
            return this;
        }

        public Builder setSwitchAccText(String var1) {
            this.switchAccText = var1;
            return this;
        }

        public Builder setSloganTextSize(int var1) {
            this.sloganTextSize = this.makeTextSizeSpec(var1, 0);
            return this;
        }

        public Builder setSloganTextSizeDp(int var1) {
            this.sloganTextSize = this.makeTextSizeSpec(var1, 1073741824);
            return this;
        }

        public Builder setSloganHidden(boolean var1) {
            this.sloganHidden = var1;
            return this;
        }

        public Builder setUncheckedImgPath(String var1) {
            this.uncheckedImgPath = var1;
            return this;
        }

        public Builder setCheckedImgPath(String var1) {
            this.checkedImgPath = var1;
            return this;
        }

        public Builder setPrivacyState(boolean var1) {
            this.privacyState = var1;
            return this;
        }

        public Builder setProtocolGravity(int var1) {
            this.protocolGravity = var1;
            return this;
        }

        public Builder setStatusBarColor(@ColorInt int var1) {
            this.statusBarColor = var1;
            return this;
        }

        public Builder setBottomNavColor(@ColorInt int var1) {
            this.bottomNavColor = var1;
            return this;
        }

        public Builder setLightColor(boolean var1) {
            this.isLightColor = var1;
            return this;
        }

        public Builder setLogBtnWidth(int var1) {
            this.logBtnWidth = var1;
            return this;
        }

        public Builder setLogBtnHeight(int var1) {
            this.logBtnHeight = var1;
            return this;
        }

        public Builder setLogBtnMarginLeftAndRight(int var1) {
            this.logBtnMarginLeftAndRight = var1;
            return this;
        }

        public Builder setCheckBoxWidth(int var1) {
            this.checkBoxWidth = var1;
            return this;
        }

        public Builder setCheckBoxHeight(int var1) {
            this.checkBoxHeight = var1;
            return this;
        }

        public Builder setNumberFieldOffsetX(int var1) {
            this.numberFieldOffsetX = var1;
            return this;
        }

        public Builder setPrivacyTextSize(int var1) {
            this.privacyTextSize = this.makeTextSizeSpec(var1, 0);
            return this;
        }

        public Builder setPrivacyTextSizeDp(int var1) {
            this.privacyTextSize = this.makeTextSizeSpec(var1, 1073741824);
            return this;
        }

        public Builder setNavReturnImgWidth(int var1) {
            this.navReturnImgWidth = var1;
            return this;
        }

        public Builder setNavReturnImgHeight(int var1) {
            this.navReturnImgHeight = var1;
            return this;
        }

        public Builder setPrivacyMargin(int var1) {
            this.privacyMargin = var1;
            return this;
        }

        public Builder setPrivacyBefore(String var1) {
            this.privacyBefore = var1;
            return this;
        }

        public Builder setPrivacyEnd(String var1) {
            this.privacyEnd = var1;
            return this;
        }

        public Builder setLoadingImgPath(String var1) {
            this.loadingImgPath = var1;
            return this;
        }

        public Builder setDialogWidth(int var1) {
            this.dialogWidth = var1;
            return this;
        }

        public Builder setDialogHeight(int var1) {
            this.dialogHeight = var1;
            return this;
        }

        public Builder setDialogOffsetX(int var1) {
            this.dialogOffsetX = var1;
            return this;
        }

        public Builder setDialogOffsetY(int var1) {
            this.dialogOffsetY = var1;
            return this;
        }

        public Builder setDialogBottom(boolean var1) {
            this.dialogBottom = var1;
            return this;
        }

        public Builder setPageBackgroundPath(String var1) {
            this.pageBackgroundPath = var1;
            return this;
        }

        public Builder setNavReturnHidden(boolean var1) {
            this.navReturnHidden = var1;
            return this;
        }

        public Builder setNavHidden(boolean var1) {
            this.navHidden = var1;
            return this;
        }

        public Builder setLogoScaleType(ImageView.ScaleType var1) {
            this.logoScaleType = var1;
            return this;
        }

        public Builder setStatusBarHidden(boolean var1) {
            this.isStatusBarHidden = var1;
            return this;
        }

        public Builder setStatusBarUIFlag(int var1) {
            this.statusBarUIFlag = var1;
            return this;
        }

        public Builder setWebViewStatusBarColor(@ColorInt int var1) {
            this.webViewStatusBarColor = var1;
            return this;
        }

        public Builder setWebNavColor(@ColorInt int var1) {
            this.webNavColor = var1;
            return this;
        }

        public Builder setWebNavTextColor(@ColorInt int var1) {
            this.webNavTextColor = var1;
            return this;
        }

        public Builder setWebNavTextSize(int var1) {
            this.webNavTextSize = this.makeTextSizeSpec(var1, 0);
            return this;
        }

        public Builder setWebNavTextSizeDp(int var1) {
            this.webNavTextSize = this.makeTextSizeSpec(var1, 1073741824);
            return this;
        }

        public Builder setWebNavReturnImgPath(String var1) {
            this.webNavReturnImgPath = var1;
            return this;
        }

        public Builder setAuthPageActIn(String var1, String var2) {
            this.authPageActIn = var1;
            this.activityOut = var2;
            return this;
        }

        public Builder setAuthPageActOut(String var1, String var2) {
            this.authPageActOut = var1;
            this.activityIn = var2;
            return this;
        }

        public Builder setVendorPrivacyPrefix(String var1) {
            this.vendorPrivacyPrefix = var1;
            return this;
        }

        public Builder setVendorPrivacySuffix(String var1) {
            this.vendorPrivacySuffix = var1;
            return this;
        }

        public Builder setScreenOrientation(int var1) {
            this.screenOrientation = var1;
            return this;
        }

        public Builder setLogBtnOffsetX(int var1) {
            this.logBtnOffsetX = var1;
            return this;
        }

        public Builder setLogBtnLayoutGravity(int var1) {
            this.logBtnLayoutGravity = var1;
            return this;
        }

        public Builder setNumberLayoutGravity(int var1) {
            this.numberLayoutGravity = var1;
            return this;
        }

        public Builder setProtocolLayoutGravity(int var1) {
            this.protocolLayoutGravity = var1;
            return this;
        }

        public Builder setPrivacyOffsetX(int var1) {
            this.privacyOffsetX = var1;
            return this;
        }

        public Builder setLogBtnToastHidden(boolean var1) {
            this.logBtnToastHidden = var1;
            return this;
        }

        public Builder setWebSupportedJavascript(boolean var1) {
            this.webSupportedJavascript = var1;
            return this;
        }

        public Builder setNavReturnImgDrawable(Drawable var1) {
            this.navReturnImgDrawable = var1;
            return this;
        }

        public Builder setLogoImgDrawable(Drawable var1) {
            this.logoImgDrawable = var1;
            return this;
        }

        public Builder setUncheckedImgDrawable(Drawable var1) {
            this.uncheckedImgDrawable = var1;
            return this;
        }

        public Builder setCheckedImgDrawable(Drawable var1) {
            this.checkedImgDrawable = var1;
            return this;
        }

        public Builder setLogBtnBackgroundDrawable(Drawable var1) {
            this.logBtnBackgroundDrawable = var1;
            return this;
        }

        public Builder setPageBackgroundDrawable(Drawable var1) {
            this.pageBackgroundDrawable = var1;
            return this;
        }

        public Builder setWebNavReturnImgDrawable(Drawable var1) {
            this.webNavReturnImgDrawable = var1;
            return this;
        }

        public Builder setLoadingImgDrawable(Drawable var1) {
            this.loadingImgDrawable = var1;
            return this;
        }

        public Builder setProtocolAction(String var1) {
            this.protocolAction = var1;
            return this;
        }

        public Builder setPackageName(String var1) {
            this.packageName = var1;
            return this;
        }

        public Builder setHiddenLoading(boolean var1) {
            this.isHiddenLoading = var1;
            return this;
        }

        public Builder setLoadingBackgroundPath(String var1) {
            this.loadingBackgroundPath = var1;
            return this;
        }

        public Builder setLoadingBackgroundDrawable(Drawable var1) {
            this.loadingBackgroundDrawable = var1;
            return this;
        }

        public int makeTextSizeSpec(int var1, int var2) {
            return var1 & 1073741823 | var2 & -1073741824;
        }

        public UIConfig create() {
            return new UIConfig(this);
        }
    }
}

